// main.js
import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'//图表
import App from './App.vue'
import "./style.css"
import axios from 'axios';

const app = createApp(App)
// 注册 Element Plus 的图标组件
for (const [name, comp] of Object.entries(ElementPlusIconsVue)) {
    app.component(name, comp);
  }
app.use(ElementPlus)
app.mount('#app')
app.config.globalProperties.$axios=axios;